package xyz.xtt.asset.request;

import jakarta.validation.constraints.Min;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author huqibo
 * @date 2024/12/24
 */
@AllArgsConstructor
@NoArgsConstructor
@Builder
@Data
public class BurnRequest {
	@NotBlank(message = "请提供资产的拥有人")
	private String ownerId;
	@NotBlank(message = "请提供业务方id")
	private String bizId;
	@NotNull(message = "请提供销毁数量")
	@Min(value = 1, message = "销毁数量最少1个")
	private Integer amount;
	@NotBlank(message = "请提供三方订单号")
	private String orderNo;
}
